﻿namespace Sai.Core.Introspection
{
	/// <summary>
	/// Used to keep track of types contained in a namespace.
	/// </summary>
	internal sealed class NamespaceTypeNameLookup : ContainerContentLookup<string, TypeName>
	{
		public void Add(ITypeDeclaration typeDeclaration)
		{
			this.Add(typeDeclaration.TypeName.Namespace, typeDeclaration.TypeName);
		}
	}
}
